package cn.example.zjgsu.pojo;

import com.fasterxml.jackson.annotation.JsonIgnore;

import java.io.Serializable;

public class FoodRecord implements Serializable {
    @JsonIgnore
    private Integer id;

    private String content;

    private String title;
    @JsonIgnore
    private Integer praisenumber;

    private String pictures;
    @JsonIgnore
    private String time;

    private String label;

    @JsonIgnore
    private Integer viewnumber;

    @JsonIgnore
    private Integer planid;

    @JsonIgnore
    private String userid;

    @JsonIgnore
    private Integer cityid;

    @JsonIgnore
    private Integer shopid;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public Integer getPraisenumber() {
        return praisenumber;
    }

    public void setPraisenumber(Integer praisenumber) {
        this.praisenumber = praisenumber;
    }

    public String getPictures() {
        return pictures;
    }

    public void setPictures(String pictures) {
        this.pictures = pictures == null ? null : pictures.trim();
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time == null ? null : time.trim();
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label == null ? null : label.trim();
    }

    public Integer getViewnumber() {
        return viewnumber;
    }

    public void setViewnumber(Integer viewnumber) {
        this.viewnumber = viewnumber;
    }

    public Integer getPlanid() {
        return planid;
    }

    public void setPlanid(Integer planid) {
        this.planid = planid;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid == null ? null : userid.trim();
    }

    public Integer getCityid() {
        return cityid;
    }

    public void setCityid(Integer cityid) {
        this.cityid = cityid;
    }

    public Integer getShopid() {
        return shopid;
    }

    public void setShopid(Integer shopid) {
        this.shopid = shopid;
    }

    @Override
    public String toString() {
        return "FoodRecord{" +
                "id=" + id +
                ", content='" + content + '\'' +
                ", title='" + title + '\'' +
                ", praisenumber=" + praisenumber +
                ", pictures='" + pictures + '\'' +
                ", time='" + time + '\'' +
                ", label='" + label + '\'' +
                ", viewnumber=" + viewnumber +
                ", planid=" + planid +
                ", userid='" + userid + '\'' +
                ", cityid=" + cityid +
                ", shopid=" + shopid +
                '}';
    }
}